const mongoose = require("mongoose");
const Schema = mongoose.Schema;

const curriculum = new Schema({
    name: {
        type: String,
        required: true
    },
    start_time: {
        type: String,
        required: true
    },
    end_time: {
        type: String,
        required: true
    },
    createdDate: {
        type: Date,
        default: Date.now
    }
})

module.exports = {
    curriculum: mongoose.model("curriculum", curriculum)
}